import { request } from '@/api/service'

export const urlModelPrefix = '/ai/models/'

export function GetReport (modelID) {
  return request({
    url: urlModelPrefix + 'report/',
    method: 'get',
    params: { id: modelID }
  })
}

export function GetModelObj (id) {
  return request({
    url: urlModelPrefix + id + '/',
    method: 'get',
    data: { id }
  })
}
